package com.xsmart.order.dao;

import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Component;

import java.util.Map;

/**
 * 用户地址
 *
 * @author guojd
 */
@Component
public interface UserAddressDao {
    /**
     * 查询用户地址
     *
     * @param addrId 地址id
     * @return 用户地址
     */
    @Select("SELECT * FROM INFU_user_address WHERE address_id=#{addrId}")
    Map<String, Object> queryUserAddress(@Param("addrId") Integer addrId);
}
